<?php
defined('APP') or die('Do not have permission to access');
class Core
{
    const FRONTEND = "index";
    const BACKEND = "cp";

    public static $config;
    public static $rewrite;
    public static $static;

    public static function  init($_config, $_rewrite = null, $_static = null){
        self::$config = $_config;
        self::$rewrite = $_rewrite;
        self::$static = $_static;
        Core_Router::loader();
    }

}